import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from "element-plus"
import 'element-plus/dist/index.css'
import router from './router'
import * as echarts from 'echarts'
import { createPinia } from 'pinia'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import locale from "element-plus/es/locale/lang/zh-cn";
import VueVideoPlayer from '@videojs-player/vue'
import 'video.js/dist/video-js.css';
import VxeUITable from 'vxe-table'
import 'vxe-table/lib/style.css'
 
const app = createApp(App);
const pinia = createPinia();
app.config.globalProperties.$echarts = echarts
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
app.use(ElementPlus,{locale}).use(router).use(VueVideoPlayer).use(VxeUITable).use(pinia).mount('#app')
